home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / pc / Shout3Ddemo / Shout3d_runtime / codebase / models / morphtargets / morph_box_tcb.s3d < prev    next >
Text File  |  2000-07-11  |  4KB  |  170 lines

  1. Background {
  2.     color 0 0 0
  3. }
  4. DEF world-TIMER TimeSensor {
  5.     loop TRUE
  6.     cycleInterval 3.333
  7. }
  8. DEF Box01 Transform {
  9.     translation 0.7116 0 -2.74
  10.     children [
  11.         DEF Box01ChannelDeformer ChannelDeformer {
  12.             basePoint [
  13.                 -7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
  14.             ]
  15.             channels [
  16.                 DEF MC_Box02 TranslationArrayDefChannel {
  17.                     translations [
  18.                         -0.001485 0 0.04939 0.003114 0 0.1362 -0.003965 0 -0.05176 0.001309 0 0.02035 0.04653 0 -0.03761
  19.                         -0.04342 0 -0.0354 0.03076 0 0.02761 -0.05096 0 0.05537
  20.                     ]
  21.                 }
  22.                 DEF MC_Box03 TranslationArrayDefChannel {
  23.                     modifiedCoordIndex [
  24.                         1 3 4 5 6 7
  25.                     ]
  26.                     translations [
  27.                         0.09258 0 0.001797 0.09347 0 -0.02449 0.03182 0 -0.03496 -0.02062 0 -0.03744 0.05117 0 -0.04628
  28.                         -0.01814 0 -0.05426
  29.                     ]
  30.                 }
  31.             ]
  32.         }
  33.         DEF MC_Box02-TCBSCALAR-INTERP TCBScalarInterpolator {
  34.             key [
  35.                 0 0.18 0.37 0.58 0.85
  36.             ]
  37.             keyValue [
  38.                 0 0 0 0 0 0
  39.                 74 0 0 0 0 0
  40.                 9 0 0 0 0 0
  41.                 100 0 0 0 0 0
  42.                 0 0 0 0 0 0
  43.             ]
  44.         }
  45.         ROUTE world-TIMER.fraction_changed TO MC_Box02-TCBSCALAR-INTERP.set_fraction
  46.         ROUTE MC_Box02-TCBSCALAR-INTERP.value_changed TO MC_Box02.set_weight
  47.         DEF MC_Box03-TCBSCALAR-INTERP TCBScalarInterpolator {
  48.             key [
  49.                 0 0.18 0.37 0.58
  50.             ]
  51.             keyValue [
  52.                 0 0 0 0 0 0
  53.                 88 0 0 0 0 0
  54.                 100 0 0 0 0 0
  55.                 0 0 0 0 0 0
  56.             ]
  57.         }
  58.         ROUTE world-TIMER.fraction_changed TO MC_Box03-TCBSCALAR-INTERP.set_fraction
  59.         ROUTE MC_Box03-TCBSCALAR-INTERP.value_changed TO MC_Box03.set_weight
  60.         Shape {
  61.             appearance [
  62.                 MultiAppearance {
  63.                     material Material {
  64.                         diffuseColor 0.102 0.6941 0.3451
  65.                     }
  66.                 }
  67.             ]
  68.             geometry MultiMesh {
  69.                 coord DEF Box01-COORD Coordinate {
  70.                     point [
  71.                         -7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
  72.                     ]
  73.                 }
  74.                 coordIndex [
  75.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  76.                     2 0 4 -1 4 6 2 -1
  77.                 ]
  78.                 smoothingIndex [
  79.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  80.                 ]
  81.                 appearanceIndex [
  82.                     1 1 0 0 4 4 3 3 5 5 2 2
  83.                 ]
  84.                 textureMappings [
  85.                 ]
  86.             }
  87.         }
  88.         ROUTE Box01ChannelDeformer.outPoint TO Box01-COORD.set_point
  89.     ]
  90. }
  91. DEF Box02 Transform {
  92.     translation -31.25 0 -3.231
  93.     children [
  94.         Shape {
  95.             appearance [
  96.                 MultiAppearance {
  97.                     material Material {
  98.                         diffuseColor 0.102 0.6941 0.3451
  99.                     }
  100.                 }
  101.             ]
  102.             geometry MultiMesh {
  103.                 coord DEF Box02-COORD Coordinate {
  104.                     point [
  105.                         -7.648 0 12.44 7.811 0 21.12 -7.896 0 -12.68 7.631 0 -5.465 -2.847 15 3.739 3.158 15 3.96
  106.                         -4.424 15 -4.739 2.404 15 -1.963
  107.                     ]
  108.                 }
  109.                 coordIndex [
  110.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  111.                     2 0 4 -1 4 6 2 -1
  112.                 ]
  113.                 smoothingIndex [
  114.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  115.                 ]
  116.                 appearanceIndex [
  117.                     1 1 0 0 4 4 3 3 5 5 2 2
  118.                 ]
  119.                 textureMappings [
  120.                 ]
  121.             }
  122.         }
  123.     ]
  124. }
  125. DEF Box03 Transform {
  126.     translation 27.5 0 -2.74
  127.     children [
  128.         Shape {
  129.             appearance [
  130.                 MultiAppearance {
  131.                     material Material {
  132.                         diffuseColor 0.102 0.6941 0.3451
  133.                     }
  134.                 }
  135.             ]
  136.             geometry MultiMesh {
  137.                 coord DEF Box03-COORD Coordinate {
  138.                     point [
  139.                         -7.5 0 7.5 16.76 0 7.68 -7.5 0 -7.5 16.85 0 -9.949 -4.318 15 4.004 5.438 15 3.756
  140.                         -2.383 15 -12.13 5.686 15 -12.93
  141.                     ]
  142.                 }
  143.                 coordIndex [
  144.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  145.                     2 0 4 -1 4 6 2 -1
  146.                 ]
  147.                 smoothingIndex [
  148.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  149.                 ]
  150.                 appearanceIndex [
  151.                     1 1 0 0 4 4 3 3 5 5 2 2
  152.                 ]
  153.                 textureMappings [
  154.                 ]
  155.             }
  156.         }
  157.     ]
  158. }
  159. DEF Camera01 Viewpoint{
  160.     position 0 51.28 112.2
  161.     orientation 1 0 0 -0.3589
  162.     fieldOfView 0.6024
  163.     description "Camera01"
  164. }
  165. DEF Camera01.Target Transform {
  166.     translation 0 7.929 -3.334
  167.     children [
  168.     ]
  169. }
  170.